<#escape x as x?html>
{
	"records":"${page.recordCount}",
	"page":"${page.page}",
	"pageSize":"${page.pageSize}",
	"pageCount":"${page.pageCount}",
	"rows":[
		<#list models as row>
			{
				"id":"${row.id}",
				"createTime":"${row.createTime}",
				"status":"${row.status!""}",
				"statusDesc":"${row.status.desc!""}",
				"tagName":"${row.tagName!""}",
				
				"menuType":"${row.menuType.desc!""}",
				"menuIconCss":"${row.menuIconCss!""}",
				"menuId":"${row.menuId!""}",
				"level":"${row.level!""}",
				<#if row.level==0>
					"levelName":"父级菜单",
					"menuNameCss":"<i class='${row.menuIconCss!""}' /> ${row.menuName!""}",
				<#elseif row.level==1>
					"levelName":"子级菜单",
					"menuNameCss":"  <i class='${row.menuIconCss!""}' /> ${row.menuName!""}",
				</#if>
				"menuName":"${row.menuName!""}",
				"menuPath":"${row.menuPath!""}",
				"sort":"${row.sort!""}",
				"remark":"${row.remark!""}",
				"upMenuName":"${row.upMenu.menuName!""}",
				"menuMethodSize":"${(row.menuMethods?size)!"0"}"
				
			}
			<#if row_has_next>,</#if>
		</#list>
	]
}
</#escape>